/*   1:    */ package tt.dz.order.vo;
/*   2:    */ 
/*   3:    */ import tt.dz.order.dao.BaseDAOUtil;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/*   4:    */
/*   5:    */ public class MerchantVO
/*   7:    */ {
/*   8:    */   private static final long serialVersionUID = -3581437447466086669L;
/*   9:    */   private String merchantCode;
/*  10:    */   private String signalCode;
/*  11:    */   private String shortName;
/*  12:    */   private String name;
/*  13:    */   private Integer isSelf;
/*  14:    */   private Integer balType;
/*  15:    */   private String address;
/*  16:    */   private String post;
/*  17:    */   private String owner;
/*  18:    */   private String idNo;
/*  19:    */   private String telphone;
/*  20:    */   private String contactName;
/*  20:    */   private String alipay;
/*  20:    */   private String email;
/*  21:    */   private Integer state;
/*  22:    */   private String districtCode;
/*  23:    */   private Date checkDate;
/*  24:    */   private String serviceNo;
/*  25:    */   private Integer providerType;
/*  26:    */   private Integer transmatic;

	public Integer getTransmatic() {
		return transmatic;
	}

	public void setTransmatic(Integer transmatic) {
		this.transmatic = transmatic;
	}

	/*  27:    */   public Integer getProviderType()
/*  28:    */   {
/*  29: 29 */     return this.providerType;
/*  30:    */   }
/*  31:    */   
/*  32:    */   public void setProviderType(Integer providerType)
/*  33:    */   {
/*  34: 33 */     this.providerType = providerType;
/*  35:    */   }
/*  36:    */   
/*  37:    */   public void setMerchantCode(String merchantCode)
/*  38:    */   {
/*  39: 37 */     this.merchantCode = merchantCode;
/*  40:    */   }
/*  41:    */   
/*  42:    */   public String getMerchantCode()
/*  43:    */   {
/*  44: 41 */     return this.merchantCode;
/*  45:    */   }
/*  46:    */   
/*  47:    */   public void setShortName(String shortName)
/*  48:    */   {
/*  49: 45 */     this.shortName = shortName;
/*  50:    */   }
/*  51:    */   
/*  52:    */   public String getShortName()
/*  53:    */   {
/*  54: 49 */     return this.shortName;
/*  55:    */   }
/*  56:    */   
/*  57:    */   public void setName(String name)
/*  58:    */   {
/*  59: 53 */     this.name = name;
/*  60:    */   }
/*  61:    */   
/*  62:    */   public String getName()
/*  63:    */   {
/*  64: 57 */     return this.name;
/*  65:    */   }
/*  66:    */   
/*  67:    */   public void setIsSelf(Integer isSelf)
/*  68:    */   {
/*  69: 61 */     this.isSelf = isSelf;
/*  70:    */   }
/*  71:    */   
/*  72:    */   public Integer getIsSelf()
/*  73:    */   {
/*  74: 65 */     return this.isSelf;
/*  75:    */   }
/*  76:    */   
/*  77:    */   public void setBalType(Integer balType)
/*  78:    */   {
/*  79: 69 */     this.balType = balType;
/*  80:    */   }
/*  81:    */   
/*  82:    */   public Integer getBalType()
/*  83:    */   {
/*  84: 73 */     return this.balType;
/*  85:    */   }
/*  86:    */   
/*  87:    */   public void setAddress(String address)
/*  88:    */   {
/*  89: 77 */     this.address = address;
/*  90:    */   }
/*  91:    */   
/*  92:    */   public String getAddress()
/*  93:    */   {
/*  94: 81 */     return this.address;
/*  95:    */   }
/*  96:    */   
/*  97:    */   public void setPost(String post)
/*  98:    */   {
/*  99: 85 */     this.post = post;
/* 100:    */   }
/* 101:    */   
/* 102:    */   public String getPost()
/* 103:    */   {
/* 104: 89 */     return this.post;
/* 105:    */   }
/* 106:    */   
/* 107:    */   public void setOwner(String owner)
/* 108:    */   {
/* 109: 93 */     this.owner = owner;
/* 110:    */   }
/* 111:    */   
/* 112:    */   public String getOwner()
/* 113:    */   {
/* 114: 97 */     return this.owner;
/* 115:    */   }
/* 116:    */   
/* 117:    */   public void setIdNo(String idNo)
/* 118:    */   {
/* 119:101 */     this.idNo = idNo;
/* 120:    */   }
/* 121:    */   
/* 122:    */   public String getIdNo()
/* 123:    */   {
/* 124:105 */     return this.idNo;
/* 125:    */   }
/* 126:    */   
/* 127:    */   public void setTelphone(String telphone)
/* 128:    */   {
/* 129:109 */     this.telphone = telphone;
/* 130:    */   }
/* 131:    */   
/* 132:    */   public String getTelphone()
/* 133:    */   {
/* 134:113 */     return this.telphone;
/* 135:    */   }
/* 136:    */   
/* 137:    */   public void setContactName(String contactName)
/* 138:    */   {
/* 139:117 */     this.contactName = contactName;
/* 140:    */   }
/* 141:    */   
/* 142:    */   public String getContactName()
/* 143:    */   {
/* 144:121 */     return this.contactName;
/* 145:    */   }
/* 146:    */   
/* 147:    */   public void setState(Integer state)
/* 148:    */   {
/* 149:125 */     this.state = state;
/* 150:    */   }
/* 151:    */   
/* 152:    */   public Integer getState()
/* 153:    */   {
/* 154:129 */     return this.state;
/* 155:    */   }
/* 156:    */   
/* 157:    */   public void setDistrictCode(String districtCode)
/* 158:    */   {
/* 159:133 */     this.districtCode = districtCode;
/* 160:    */   }
/* 161:    */   
/* 162:    */   public String getDistrictCode()
/* 163:    */   {
/* 164:137 */     return this.districtCode;
/* 165:    */   }
/* 166:    */   
/* 167:    */   public void setCheckDate(Date checkDate)
/* 168:    */   {
/* 169:141 */     this.checkDate = checkDate;
/* 170:    */   }
/* 171:    */   
/* 172:    */   public Date getCheckDate()
/* 173:    */   {
/* 174:145 */     return this.checkDate;
/* 175:    */   }
/* 176:    */   
/* 177:    */   public String getServiceNo()
/* 178:    */   {
/* 179:149 */     return this.serviceNo;
/* 180:    */   }
/* 181:    */   
/* 182:    */   public void setServiceNo(String serviceNo)
/* 183:    */   {
/* 184:153 */     this.serviceNo = serviceNo;
/* 185:    */   }
/* 186:    */   
/* 187:    */   public static long getSerialVersionUID()
/* 188:    */   {
/* 189:157 */     return -3581437447466086669L;
/* 190:    */   }
/* 191:    */   
/* 192:    */   public String getSignalCode()
/* 193:    */   {
/* 194:161 */     return this.signalCode;
/* 195:    */   }
/* 196:    */   
/* 197:    */   public void setSignalCode(String signalCode)
/* 198:    */   {
/* 199:165 */     this.signalCode = signalCode;
/* 200:    */   }
/* 201:    */
public String getAlipay() {
	return alipay;
}
public void setAlipay(String alipay) {
	this.alipay = alipay;
}
public String getEmail() {
	return email;
}
public void setEmail(String email) {
	this.email = email;
}
	public MerchantVO queryMerchantByCode(String merchantCode)
	{
		try
		{
			MerchantVO param = new MerchantVO();
			param.setMerchantCode(merchantCode);
			StringBuilder sql = new StringBuilder("select mm.merchant_code,mm.signal_code,mm.short_name,mm.name,mm.is_self,mm.bal_type,mm.address,mm.post,mm.owner,mm.id_no,mm.telphone,mm.contact_name,mm.state,mm.district_code,mm.check_date,mm.created_by,mm.created_time,mm.updated_by,mm.updated_time,mm.is_valid,mm.provider_type,mm.alipay,mm.email,mm.transmatic from ms_merchant mm  where 1 = 1 ");
			sql.append(" and mm.merchant_code=:merchantCode ");

			Map<String, Object> paramMap = new HashMap<String, Object>();
			paramMap.put("merchantCode", merchantCode);
			return BaseDAOUtil.queryForObject(sql.toString(), paramMap, MerchantVO.class);
		}
		catch (Exception e) {}
		return null;
	}
}


/* Location:           F:\work\pengyu\mainServer\WEB-INF\classes\

 * Qualified Name:     tt.dz.vo.MerchantVO

 * JD-Core Version:    0.7.0.1

 */